﻿<div class="discussion-item <# PinItemClass #> <# PinItemBackgroundClass #>">
    <div class="jq_snNote <# UnapprovedClass #> <# SpamClass #> <# UnansweredClass #> <# AnsweredClass #>">
        #if( $AnsweringVisible )
            <div class="icon" title="<# AnswerToolTip #>">
                <# Answer #>
            </div>
        #end
        <h3><# Name #></h3>
        <div class="date-author">
            <# Date #> -
            <a href="<# AuthorUrl #>" title="<# AuthorToolTip #>" class="author"><# AuthorText #></a>
        </div>
        #if( $LastPostVisible )
        <div class="last">
            <a href="<# LastPostUrl #>" title="<# LastPostToolTip #>">
                <span><# LastPostText #></span>
                <# LastPostName #>
            </a>
            #if( $LastPostAuthorVisible )
            <a href="<# LastPostAuthorUrl #>" title="<# LastPostAuthorToolTip #>">
                <span><# LastPostAuthorText #></span>
                <# LastPostAuthorName #>
            </a>
            #end
            / <# LastPostDate #>
        </div>
        #end
        #if( $TagsVisible )
        <div class="tags">
            <# Tags #>
        </div>
        #end
        <div class="info-box">
            <div class="counter">
                #if( $RatingVisible )
                    <strong>
                        <strong><# RatingCount #></strong>
                        <span title="<# RatingToolTip #>"><# RatingText #></span>
                    </strong>
                #end
                #if( $NoRatingVisible )
                    <strong>
                        0
                        <span title="<# RatingToolTip #>"><# RatingText #></span>
                    </strong>
                #end
                <a href="<# ViewsUrl #>" title="<# ViewsToolTip #>">
                    <# ViewsCount #>
                    <span><# ViewsText #></span>
                </a>
                <a href="<# ReplyUrl #>" title="<# ReplyToolTip #>">
                    <# ReplyCount #>
                    <span><# ReplyText #></span>
                </a>
            </div>
        </div>
        <div class="options">
            #if( $EditVisible )
            <a title="<# Edit-ToolTip #>" href='<# Edit-URL #>'>
                <# Edit-ToolTip #>
            </a>
            #end
            #if( $DeleteVisible )
            <a title="<# Delete-ToolTip #>" href='<# Delete-URL #>' <# Delete-Attributes #>>
                <# Delete-ToolTip #>
            </a>
            #end
            #if( $ApproveOptionsVisible )
            <# Approve #>
            #end
            #if( $SpamOptionsVisible )
            <# ReportHam #>
            <# ReportSpam #>
            #end
            #if( $PinItemVisible ) <# TogglePinItem #> #end
            #if( $TellAFriendVisible ) <span class="share"><# TellAFriend #></span> #end
        </div>
    </div>
</div>